import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        String s = in.nextLine();
        String[] ss = s.split(" ");
        StringBuilder ret = new StringBuilder();
        for (String str : ss) {
            char c = str.charAt(0);
            if (c >= 'a' && c <= 'z') {
                ret.append((char)(c - 32));
            } else {
                ret.append(c);
            }
        }
        System.out.println(ret.toString());
    }
}
